cmake_minimum_required(VERSION 3.14)
project(thread)

set(CMAKE_CXX_STANDARD 17)
include_directories(thread_obj)
add_subdirectory(thread_obj)
add_executable(thread main.cpp)
target_link_libraries(thread pthread thread_obj)